package com.issue.system.service;

import java.util.List;
import com.issue.system.domain.ChildCourse;

/**
 * CourseService接口
 * 
 * @author system
 * @date 2024-10-20
 */
public interface IChildCourseService 
{
    /**
     * 查询Course
     * 
     * @param courseId Course主键
     * @return Course
     */
    public ChildCourse selectChildCourseByCourseId(Long courseId);

    /**
     * 查询Course列表
     * 
     * @param childCourse Course
     * @return Course集合
     */
    public List<ChildCourse> selectChildCourseList(ChildCourse childCourse);

    /**
     * 新增Course
     * 
     * @param childCourse Course
     * @return 结果
     */
    public int insertChildCourse(ChildCourse childCourse);

    /**
     * 修改Course
     * 
     * @param childCourse Course
     * @return 结果
     */
    public int updateChildCourse(ChildCourse childCourse);

    /**
     * 批量删除Course
     * 
     * @param courseIds 需要删除的Course主键集合
     * @return 结果
     */
    public int deleteChildCourseByCourseIds(Long[] courseIds);

    /**
     * 删除Course信息
     * 
     * @param courseId Course主键
     * @return 结果
     */
    public int deleteChildCourseByCourseId(Long courseId);
}
